package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 物料出库采购订单对应表
 * </p>
 *
 * @author LX
 * @since 2018-09-09
 */
@TableName("erp_flow_clients")
public class ErpFlowClients extends Model<ErpFlowClients> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 流转单号
     */
    @TableField("flow_sheetId")
    private String flowSheetid;
    /**
     * 采购单号
     */
    @TableField("clients_sheetId")
    private String clientsSheetid;
    /**
     * 工作状态0未处理1已处理
     */
    @TableField("work_state")
    private Integer workState;

    /**
     * 时间
     */
    @TableField("date")
    private String date;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFlowSheetid() {
        return flowSheetid;
    }

    public void setFlowSheetid(String flowSheetid) {
        this.flowSheetid = flowSheetid;
    }

    public String getClientsSheetid() {
        return clientsSheetid;
    }

    public void setClientsSheetid(String clientsSheetid) {
        this.clientsSheetid = clientsSheetid;
    }

    public Integer getWorkState() {
        return workState;
    }

    public void setWorkState(Integer workState) {
        this.workState = workState;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpFlowClients{" +
        ", id=" + id +
        ", flowSheetid=" + flowSheetid +
        ", clientsSheetid=" + clientsSheetid +
        ", workState=" + workState +
        "}";
    }
}
